Specification files (i.e., header files) must have a type
of .h, implementation files must have a type
of .cpp, and template files (which must contain both
the specification and the implementation) must have a type
of .hpp.
The Javadoc format is preferred, but not required.
.h
or .hpp file.
Only detailed comments about the implementation should be
in the implementation file (i.e., the .cpp file).
Include a statement like This work complies with the
JMU Honor Code.
There are also several books devoted to C/C++ style, including:
Cargill,
T.
(1992)
C++ Programming Style, Addison-Wesley
, Reading, MA.
(Order from
amazon
, order from
Barnes and Noble
, compare at
bigwords
, compare at
CampusBooks4Less
, order from
Chegg
, or search
eFollett
)
Coplien,
J.O.
(1991)
Advanced C++ Programming Styles and Idioms, Addison-Wesley
, Reading, MA.
(Order from
amazon
, order from
Barnes and Noble
, compare at
bigwords
, compare at
CampusBooks4Less
, order from
Chegg
, or search
eFollett
)
Ranade,
J.
and
A. Nash
(1992)
The Elements of C Programming Style, McGraw Hill
, Boston.
(Order from
amazon
, order from
Barnes and Noble
, compare at
bigwords
, compare at
CampusBooks4Less
, order from
Chegg
, or search
eFollett
)
Copyright 2019